\(\int \frac {1}{a^3+\sqrt {-a} x} \, dx\) [276]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 15, antiderivative size = 22 \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=\frac {\log \left (a^3+\sqrt {-a} x\right )}{\sqrt {-a}} \]

[Out]

ln(a^3+x*(-a)^(1/2))/(-a)^(1/2)

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {31} \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=\frac {\log \left (a^3+\sqrt {-a} x\right )}{\sqrt {-a}} \]

[In]

Int[(a^3 + Sqrt[-a]*x)^(-1),x]

[Out]

Log[a^3 + Sqrt[-a]*x]/Sqrt[-a]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rubi steps \begin{align*} \text {integral}& = \frac {\log \left (a^3+\sqrt {-a} x\right )}{\sqrt {-a}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00 \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=\frac {\log \left (a^3+\sqrt {-a} x\right )}{\sqrt {-a}} \]

[In]

Integrate[(a^3 + Sqrt[-a]*x)^(-1),x]

[Out]

Log[a^3 + Sqrt[-a]*x]/Sqrt[-a]

Maple [A] (verified)

Time = 0.07 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.86

method result size
default \(\frac {\ln \left (a^{3}+x \sqrt {-a}\right )}{\sqrt {-a}}\) \(19\)

[In]

int(1/(a^3+x*(-a)^(1/2)),x,method=_RETURNVERBOSE)

[Out]

ln(a^3+x*(-a)^(1/2))/(-a)^(1/2)

Fricas [A] (verification not implemented)

none

Time = 0.22 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.05 \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=-\frac {\sqrt {-a} \log \left (-\sqrt {-a} a^{2} + x\right )}{a} \]

[In]

integrate(1/(a^3+x*(-a)^(1/2)),x, algorithm="fricas")

[Out]

-sqrt(-a)*log(-sqrt(-a)*a^2 + x)/a

Sympy [A] (verification not implemented)

Time = 0.05 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.86 \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=\frac {\log {\left (a^{3} + x \sqrt {- a} \right )}}{\sqrt {- a}} \]

[In]

integrate(1/(a**3+x*(-a)**(1/2)),x)

[Out]

log(a**3 + x*sqrt(-a))/sqrt(-a)

Maxima [A] (verification not implemented)

none

Time = 0.21 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.82 \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=\frac {\log \left (a^{3} + \sqrt {-a} x\right )}{\sqrt {-a}} \]

[In]

integrate(1/(a^3+x*(-a)^(1/2)),x, algorithm="maxima")

[Out]

log(a^3 + sqrt(-a)*x)/sqrt(-a)

Giac [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.86 \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=\frac {\log \left ({\left | a^{3} + \sqrt {-a} x \right |}\right )}{\sqrt {-a}} \]

[In]

integrate(1/(a^3+x*(-a)^(1/2)),x, algorithm="giac")

[Out]

log(abs(a^3 + sqrt(-a)*x))/sqrt(-a)

Mupad [B] (verification not implemented)

Time = 0.06 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.73 \[ \int \frac {1}{a^3+\sqrt {-a} x} \, dx=\frac {\ln \left (x-{\left (-a\right )}^{5/2}\right )}{\sqrt {-a}} \]

[In]

int(1/(a^3 + (-a)^(1/2)*x),x)

[Out]

log(x - (-a)^(5/2))/(-a)^(1/2)